﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using System.Text.RegularExpressions;

namespace AgorApp.Roma.Oracle.Services.Mappers
{
    public class UpperUnderscoreNamingConvention : INamingConvention
    {
        private readonly Regex splittingExpression = new Regex(@"[\p{Lu}0-9]+(?=_?)");

        public string SeparatorCharacter
        {
            get { return "_"; }
        }

        public Regex SplittingExpression
        {
            get { return splittingExpression; }
        }
    }
}
